# -*- coding: UTF-8 -*-
from django.forms import ModelForm
from .models import  UserLog
from django import forms

#定义Node的Form,Form名字为 模式名+Form
class UserLogForm(ModelForm):
    class Meta():
        model=UserLog
        exclude=[]


class UserLogSearchForm(ModelForm):
    class Meta():
        model=UserLog
        exclude=['file_args','post_args','get_args','HTTP_USER_AGENT','status']